export const addAction = (num) => {
  // 1. 💥创建函数一定要返回action对象
  return {
    type: 'add',
    payload: num,
  };
};

// enf
export const desAction = (num) => {
  return {
    type: 'des',
    payload: num,
  };
};
